package cn.bonoon.core.plugins;
//package cn.bonoon.plugins.core;
//
//import java.util.List;
//
//import cn.bonoon.kernel.query.Page;
//import cn.bonoon.kernel.query.PageCondition;
//import cn.bonoon.kernel.support.GenericService;
//import cn.bonoon.kernel.support.IdTextPair;
//import cn.bonoon.kernel.support.SearchService;
//import cn.bonoon.plugins.entities.GroupEntity;
//import cn.bonoon.plugins.entities.GroupMemberEntity;
//import cn.bonoon.plugins.entities.PrivilegeEntity;
//import cn.bonoon.plugins.entities.RoleEntity;
//
//public interface GroupService extends GenericService<GroupEntity>, SearchService<GroupEntity> {
//
//	List<Long> getRoleIdByGroup(Long id);
//	
//	boolean updateRoles(Long id,Long[] roleIds);
//
//	List<PrivilegeEntity> getPrivileges(Long gid);
//
//	void save(GroupEntity entity, Long[] rids);
//
//	void update(GroupEntity entity, Long[] rids);
//
//	List<IdTextPair> accountsByGroup(Long id);
//
//	Page<GroupMemberEntity> groupAccount(Long id, PageCondition pc);
//
//	Page<RoleEntity> groupRole(Long id, PageCondition pc);
//}
